<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Insert title here</title>
	<link rel="stylesheet" type="text/css" href="css/user_css.css">
	<style type="text/css">
	        A:link{text-decoration:none}
	        A:visited{text-decoration:none}
	</style>
</head>
<body>
	 <table  width="100%" >
	   <tr bordercolor="white">
	         
	      <td align="left" bgcolor="white"  valign="middle">
	          <img src="image/Miracom_CI.png"  height="40px"> 
	      </td>
	           
	      <td align="right" bgcolor="white" valign="bottom">
	          <a href='/${initParam.context_root }/index.jsp'>메인페이지</a>&nbsp;&nbsp;
	      <c:choose>
	      <c:when test="${sessionScope.memberVO == null }">
	          <a href="/${initParam.context_root }/register_form.jsp">회원가입</a>&nbsp;&nbsp;
	          <a href="/${initParam.context_root }/login_form.jsp">로그인</a>&nbsp;&nbsp;
	          <a href="/${initParam.context_root }/search_form.jsp">검&nbsp;&nbsp;색</a>&nbsp;&nbsp;
	     </c:when>
	     <c:otherwise>
	          <a href="/${initParam.context_root }/logout.do">로그아웃</a>&nbsp;&nbsp;
	          <a href="/${initParam.context_root }/getLoginMemberInfo.do">회원정보조회</a>&nbsp;&nbsp;
	          <a href="/${initParam.context_root }/modifyForm.do">회원정보수정</a>&nbsp;&nbsp;
	          <a href="/${initParam.context_root }/removeMember.do">회원 탈퇴</a>&nbsp;&nbsp;
              <%--<a href="/${initParam.context_root }/controller?command=member_remove">회원 탈퇴</a>&nbsp;&nbsp; --%>
	      </c:otherwise>
	      </c:choose>    
	          <a href="/${initParam.context_root }/getAllMemberInfo.do">전체정보 조회</a>
	      </td>
	   </tr>
	</table>
	<hr width="100%" align="left" noshade="noshade">
	
	
</body>
</html>
